/*
 * WaitRoomApi.h
 *
 */

#ifndef WAITROOMAPI_H_
#define WAITROOMAPI_H_

#include "BoundedBuffer.h"

class WaitRoomApi {
public:
	WaitRoomApi();
	virtual ~WaitRoomApi();

	void enterRoom(int id);
	int getPassenger();
	void init();
	void cleanup();
private:
	BoundedBuffer<int> m_buffer;
};

#endif /* WAITROOMAPI_H_ */
